package com.devops.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author huang
 * @Description
 * @Date 2025/7/5 15:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class JvmDesc implements Serializable {
    private static final long serialVersionUID = 952767726951036850L;
    /**
     * 当前服务器的内存总量
     */
    private  String memoryTotal;
    private  String memoryUsed;
    private  String memoryFree;

    private String jvmMemoryTotal;
    private String jvmMemoryUsed;
    private String jvmMemoryFree;

    private String jvmVersion;
    private String jvmVendor;             // ⬅️ JVM厂商
    private String jvmName;               // ⬅️ JVM名称

    private String inputArgs;             // ⬅️ 启动参数
    private Integer threadCount;          // ⬅️ 活跃线程数
    private Integer loadedClassCount;     // ⬅️ 加载类数
    private String gcInfo;                // ⬅️ GC 次数与耗时摘要
}
